package com.example.qing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.qing.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.time.LocalDate;
import java.util.List;

/**
 * 员工管理
 */
@Mapper
public interface EmpMapper extends BaseMapper<Emp>{

/*    @Select("select * from emp")
    public List<Emp>list();*/
    public List<Emp> list(String name, Short gender, LocalDate begin, LocalDate end);
}
